{"ast":null,"code":"import _defineProperty from \"/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/@babel/runtime/helpers/esm/defineProperty.js\";\nimport _slicedToArray from \"/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/@babel/runtime/helpers/esm/slicedToArray.js\";\nimport { useStyleRegister } from '@ant-design/cssinjs';\nimport { resetIcon } from '../../style';\nimport { useToken } from '../../theme/internal';\nvar useStyle = function useStyle(iconPrefixCls) {\n  var _useToken = useToken(),\n    _useToken2 = _slicedToArray(_useToken, 2),\n    theme = _useToken2[0],\n    token = _useToken2[1];\n  // Generate style for icons\n  return useStyleRegister({\n    theme: theme,\n    token: token,\n    hashId: '',\n    path: ['ant-design-icons', iconPrefixCls]\n  }, function () {\n    return [_defineProperty({}, \".\".concat(iconPrefixCls), resetIcon())];\n  });\n};\nexport default useStyle;","map":{"version":3,"names":["useStyleRegister","resetIcon","useToken","useStyle","iconPrefixCls","theme","token","hashId","path"],"sources":["/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/antd/es/config-provider/style/index.js"],"sourcesContent":["import { useStyleRegister } from '@ant-design/cssinjs';\nimport { resetIcon } from '../../style';\nimport { useToken } from '../../theme/internal';\nconst useStyle = iconPrefixCls => {\n  const [theme, token] = useToken();\n  // Generate style for icons\n  return useStyleRegister({\n    theme,\n    token,\n    hashId: '',\n    path: ['ant-design-icons', iconPrefixCls]\n  }, () => [{\n    [`.${iconPrefixCls}`]: resetIcon()\n  }]);\n};\nexport default useStyle;"],"mappings":";;AAAA,SAASA,gBAAgB,QAAQ,qBAAqB;AACtD,SAASC,SAAS,QAAQ,aAAa;AACvC,SAASC,QAAQ,QAAQ,sBAAsB;AAC/C,IAAMC,QAAQ,GAAG,SAAXA,QAAQ,CAAGC,aAAa,EAAI;EAChC,gBAAuBF,QAAQ,EAAE;IAAA;IAA1BG,KAAK;IAAEC,KAAK;EACnB;EACA,OAAON,gBAAgB,CAAC;IACtBK,KAAK,EAALA,KAAK;IACLC,KAAK,EAALA,KAAK;IACLC,MAAM,EAAE,EAAE;IACVC,IAAI,EAAE,CAAC,kBAAkB,EAAEJ,aAAa;EAC1C,CAAC,EAAE;IAAA,OAAM,gCACFA,aAAa,GAAKH,SAAS,EAAE,EAClC;EAAA,EAAC;AACL,CAAC;AACD,eAAeE,QAAQ"},"metadata":{},"sourceType":"module"}